package com.cy.zs.hp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 该表为医师排班表及候诊人数状态表
 * </p>
 *
 * @author cgb2008
 * @since 2020-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("scheduling_table")
public class SchedulingTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 创建时间
     */
    @TableField("create_datetime")
    private LocalDateTime createDatetime;

    /**
     * 医生名字
     */
    @TableField("doctor_name")
    private String doctorName;

    /**
     * 医师id
     */
    @TableField("doctor_id")
    private Integer doctorId;

    /**
     * 候诊时间
     */
    @TableField("work_time")
    private String workTime;

    /**
     * 候诊人数
     */
    @TableField("number")
    private Integer number;

    /**
     * 剩余候诊人数
     */
    @TableField("surplus_number")
    private String surplusNumber;

    /**
     * 排班表状态
     */
    @TableField("status")
    private Integer status;


}
